package cn.zwxky.android.staff;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.zgscwjm.lsfbbasetemplate.LsfbAppManager;
import com.zgscwjm.lsfbbasetemplate.config.Config;

import cn.jpush.android.api.JPushInterface;
import cn.zwxky.android.staff.Login.LoginActivity;
import cn.zwxky.android.staff.Utils.URLString;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        //初始化极光
        JPushInterface.init(this);
        Config.Config(MainActivity.this);
        //第二种验证方式
        Config.TOKENTYPE = 2;
        Config.setScreen(true);
        Config.vertica=true;
        Config.ConfigBaseURL(URLString.BASE);
        Config.Style_AppColor = this.getResources().getColor(R.color.theme_color);
        LsfbAppManager.getAppManager().addActivity(this);


            startActivity(new Intent(this, LoginActivity.class));

    }
}
